package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by renzhikun on 18-6-7.
 */
@TableName("base_transfer_manage")
public class BaseSupply extends CommonVo implements Serializable {

    private static final long serialVersionUID = -8514736865678261730L;

    /**
     * 货源ID
     */
    @TableId(value = "supply_id", type = IdType.AUTO)
    private Long supplyId;
    /**
     * 货源编号
     */
    @TableField("supply_code")
    private String supplyCode;
    /**
     * 联系人
     */
    @TableField("contacts")
    private String contacts;
    /**
     * 联系人首字母
     */
    @TableField("initial")
    private String initial;
    /**
     * 联系电话
     */
    @TableField("telephone")
    private String telephone;
    /**
     * 货源公司
     */
    @TableField("supply_name")
    private String supplyName;
    /**
     * 货源公司拼音
     */
    @TableField("pinyin")
    private String pinyin;
    /**
     * 地址
     */
    @TableField("address")
    private String address;
    /**
     * 网点
     */
    @TableField("site_id")
    private Long siteId;
    /**
     * 结算模式
     */
    @TableField("settlement")
    private Long settlement;
    /**
     * 创建网点
     */
    @TableField("createSite")
    private String createSite;
    /**
     * 登记人
     */
    @TableField("register_by")
    private Long registerBy;
    /**
     * 登记时间
     */
    @TableField("register_time")
    private Date registerTime;
    /**
     * 是否可用
     */
    @TableField("enabled")
    private Boolean enabled;

    private String siteName;
    private String createByName;
    private String modifyByName;
    private String registerByName;
    private String createSiteName;

    public Long getSupplyId() {
        return supplyId;
    }

    public void setSupplyId(Long supplyId) {
        this.supplyId = supplyId;
    }

    public String getSupplyCode() {
        return supplyCode;
    }

    public void setSupplyCode(String supplyCode) {
        this.supplyCode = supplyCode;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getInitial() {
        return initial;
    }

    public void setInitial(String initial) {
        this.initial = initial;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getSupplyName() {
        return supplyName;
    }

    public void setSupplyName(String supplyName) {
        this.supplyName = supplyName;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public Long getSettlement() {
        return settlement;
    }

    public void setSettlement(Long settlement) {
        this.settlement = settlement;
    }

    public String getCreateSite() {
        return createSite;
    }

    public void setCreateSite(String createSite) {
        this.createSite = createSite;
    }

    public Long getRegisterBy() {
        return registerBy;
    }

    public void setRegisterBy(Long registerBy) {
        this.registerBy = registerBy;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }

    public String getModifyByName() {
        return modifyByName;
    }

    public void setModifyByName(String modifyByName) {
        this.modifyByName = modifyByName;
    }

    public String getRegisterByName() {
        return registerByName;
    }

    public void setRegisterByName(String registerByName) {
        this.registerByName = registerByName;
    }

    public String getCreateSiteName() {
        return createSiteName;
    }

    public void setCreateSiteName(String createSiteName) {
        this.createSiteName = createSiteName;
    }
}
